package org.brisling.sysman.domain;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.brisling.base.domain.impl.BaseDomain;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

/**
 * 
 * <p>Title: SysShortMessage</p>
 * <p>Description: 手机短信实体类</p>
 * <p>Company: 长沙东勤信息科技发展有限公司</p>
 * @author jackson wang
 * @since 1.0
 * @version 1.0
 * @date 2019年7月29日 上午7:54:41
 */
@Entity
@Table(name=ConstSysParam.MODULE_SHORTMESSAGE)
@DynamicUpdate(true)
@DynamicInsert(true)
public class SysShortMessage extends BaseDomain implements BaseDomainInf
{
	
	
	/*
	 * 参数值
	 */
	private String value;
	
	/*
	 * 手机号码
	 */
	private String phoneNumber;
	
	/*
	 * 发送内容
	 */
	private String messageContent;
	
	
	/*
	 * 接收人id
	 */
	private String reciveUserid;
	
	/*
	 * 接收人姓名
	 */
	private String reciveUsername;
	
	private String userid;
	
	private String bizname;
	
	//发送标志(1、已发送；0、未发送)
	private String sendStatus = "0";
	
	
	public SysShortMessage(){};
	
	
	public SysShortMessage(String phoneNumber,String content){
		this.phoneNumber = phoneNumber;
		this.messageContent=content;
	}
	
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}	
	
	
	/**
	 * @return the phoneNumber
	 */
	public String getPhoneNumber() {
		return phoneNumber;
	}
	/**
	 * @param phoneNumber the phoneNumber to set
	 */
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	/**
	 * @return the messageContent
	 */
	public String getMessageContent() {
		return messageContent;
	}
	/**
	 * @param messageContent the messageContent to set
	 */
	public void setMessageContent(String messageContent) {
		this.messageContent = messageContent;
	}
	/**
	 * @return the reciveUserid
	 */
	public String getReciveUserid() {
		return reciveUserid;
	}
	/**
	 * @param reciveUserid the reciveUserid to set
	 */
	public void setReciveUserid(String reciveUserid) {
		this.reciveUserid = reciveUserid;
	}
	/**
	 * @return the reciveUsername
	 */
	public String getReciveUsername() {
		return reciveUsername;
	}
	/**
	 * @param reciveUsername the reciveUsername to set
	 */
	public void setReciveUsername(String reciveUsername) {
		this.reciveUsername = reciveUsername;
	}
	
	/**
	 * @return the userid
	 */
	public String getUserid() {
		return userid;
	}


	/**
	 * @param userid the userid to set
	 */
	public void setUserid(String userid) {
		this.userid = userid;
	}


	/**
	 * @return the bizname
	 */
	public String getBizname() {
		return bizname;
	}


	/**
	 * @param bizname the bizname to set
	 */
	public void setBizname(String bizname) {
		this.bizname = bizname;
	}


	/**
	 * @return the sendStatus
	 */
	public String getSendStatus() {
		return sendStatus;
	}


	/**
	 * @param sendStatus the sendStatus to set
	 */
	public void setSendStatus(String sendStatus) {
		this.sendStatus = sendStatus;
	}	
	
}